Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(whl_library): fix the dependency generation for multi-python depenency closures #1875

Merged
merged 4 commits into from
May 19, 2024

Conversation

aignas
Copy link
Collaborator

@aignas aignas commented May 4, 2024

We start using the recently introduced is_python_config_setting to make
it possible to have a working select statement when multiple python
version selection needs to happen in a whl_library.

This adds further fixes so that the correct dependencies are pulled in when the
python_version string flag is unset thus making this implementation suitable
for bzlmod use case where we would use a single whl_library instance for
multiple python versions within the hub.

Work towards #735.

@aignas aignas requested a review from rickeylev as a code owner May 4, 2024 03:50
We start using the recently introduced `is_python_config_setting` to make
it possible to have a working select statement when multiple python
version selection needs to happen in a `whl_library`.

This adds further fixes so that the correct dependencies are pulled in when the
`python_version` string flag is unset thus making this implementation suitable
for `bzlmod` use case where we would use a single `whl_library` instance for
multiple python versions within the hub.

Work towards bazelbuild#735.
],
hub_name = "pip",
python_version = "3.9",
quiet = False,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just checking: debug code?

@aignas aignas enabled auto-merge May 19, 2024 02:49
@aignas aignas added this pull request to the merge queue May 19, 2024
Merged via the queue into bazelbuild:main with commit ede1163 May 19, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants